package com.ns002.yigou.quote.globals;

/**
 * @Author xu
 * @Date 2017/7/28 0028 下午 12:11
 * redis缓存Key
 */
public class RedisKey {

    public static final String BASE = "yigou-quote:";

    /**
     * 产品缓存
     */
    public static final String PRODUCT_CACHE_JSON = "productCacheJson";

    /** 全部最新行情缓存 */
    public static final String QUOTE_CACHE = BASE + "QUOTE_CACHE";

    public static final String QUOTE_LAST_KLINE = BASE + "QUOTE_LAST_KLINE";

    /**
     * K线
     */
    public static final String KLINE_M1 = BASE + "KLINE_M1";   //分时图
    public static final String KLINE_M5 = BASE + "KLINE_M5";
    public static final String KLINE_M15 = BASE + "KLINE_M15";
    public static final String KLINE_M30 = BASE + "KLINE_M30";
    public static final String KLINE_H1 = BASE + "KLINE_H1";
    public static final String KLINE_H2 = BASE + "KLINE_H2";
    public static final String KLINE_H4 = BASE + "KLINE_H4";
    public static final String KLINE_D1 = BASE + "KLINE_D1";

}
